package com.octopus.kernal.util.xml;

import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name="BusinessModel")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="BusinessModel")
public class BusinessModel {
	
	@XmlElementWrapper(name="Entities")
    @XmlElement(name="Entity")
    private List<Entity> entities;

	public List<Entity> getEntities() {
		return entities;
	}

	public void setEntities(List<Entity> entities) {
		this.entities = entities;
	}

}
